package web.req;

import common.consts.Consts;
import org.hibernate.validator.constraints.NotBlank;
import web.Request;

/**
 * Created by aceyin on 15/6/27.
 */
public class CouponRequest extends Request {
    private long owner;
    @NotBlank(message = Consts.i18nKey.INVALID_COUPON_CODE)
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getOwner() {
        return owner;
    }

    public void setOwner(long owner) {
        this.owner = owner;
    }
}
